package com.jwsoft.manager.common.vo.eduSyncIrs;

import com.bifang.assistant.common.vo.BasePageVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * QueryVO
 *
 * @author chenzh
 * @since 2023-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduSyncIrsQueryVO", title = "查询VO", description = "查询实体类")
public class EduSyncIrsQueryVO extends BasePageVO {

    @Schema(name = "irsSyncId", title = "数据同步id")
    private String irsSyncId;

    @Schema(name = "year", title = "年份")
    private Integer year;

    @Schema(name = "studentEnrollPreId", title = "学生预采集id")
    private String studentEnrollPreId;

    @Schema(name = "syncType", title = "同步类型：1 户籍 2 房产 3 参保 4 居住证 5 网签合同 6 企业 7 出生证 8结婚证 9 社保连续缴费")
    private String syncType;

    @Schema(name = "dataType", title = "数据类型：idcard 身份证")
    private String dataType;

    @Schema(name = "dataId", title = "对应数据id")
    private String dataId;

    @Schema(name = "irsCode", title = "大数据接口编号")
    private String irsCode;

    @Schema(name = "reqParams", title = "请求参数")
    private String reqParams;

    @Schema(name = "reqTime", title = "请求时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reqTime;

    @Schema(name = "resParams", title = "返回参数")
    private String resParams;

    @Schema(name = "resTime", title = "返回时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date resTime;

    @Schema(name = "syncStatus", title = "异步同步状态：0 待同步 1 同步成功 2 同步失败")
    private String syncStatus;

    @Schema(name = "syncTime", title = "异步同步时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date syncTime;

    @Schema(name = "syncMsg", title = "异步同步描述")
    private String syncMsg;

    @Schema(name = "sendFlag", title = "发送状态：1 待发送 1 发送成功 2发送失败")
    private String sendFlag;

    @Schema(name = "sendTime", title = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    @Schema(name = "sendMsg", title = "发送描述")
    private String sendMsg;

    @Schema(name = "sendErrorCnt", title = "发送失败次数")
    private Integer sendErrorCnt;

    @Schema(name = "syncErrorCnt", title = "同步失败次数")
    private Integer syncErrorCnt;

    @Schema(name = "irsSendFlag", title = "irs发送状态：1 待发送 1 发送成功 2发送失败")
    private String irsSendFlag;

    @Schema(name = "irsSendTime", title = "irs发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date irsSendTime;

    @Schema(name = "irsSendMsg", title = "irs发送描述")
    private String irsSendMsg;

    @Schema(name = "irsSendErrorCnt", title = "irs发送失败次数")
    private Integer irsSendErrorCnt;

    @Schema(name = "newFlag", title = "是否最新同步：1 是 0 否")
    private String newFlag;
}
